﻿using System;
namespace Things.Model
{
	/// <summary>
	/// GoodsComments:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class GoodsComments
	{
		public GoodsComments()
		{}
		#region Model
		private Guid _commentsid;
		private Guid _goodspriceid;
		private string _comments;
		private string _buyeraccount;
		private DateTime? _commentdate;
		private decimal? _rate;
		private string _commenttitle;
        private bool _isMain;

        
		/// <summary>
		/// 
		/// </summary>
		public Guid CommentsID
		{
			set{ _commentsid=value;}
			get{return _commentsid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public Guid GoodsPriceID
		{
			set{ _goodspriceid=value;}
			get{return _goodspriceid;}
		}
		/// <summary>
		/// 评论
		/// </summary>
		public string Comments
		{
			set{ _comments=value;}
			get{return _comments;}
		}
		/// <summary>
		/// 用户
		/// </summary>
		public string BuyerAccount
		{
			set{ _buyeraccount=value;}
			get{return _buyeraccount;}
		}
		/// <summary>
		/// 评论时间
		/// </summary>
		public DateTime? CommentDate
		{
			set{ _commentdate=value;}
			get{return _commentdate;}
		}
		/// <summary>
		/// 评分
		/// </summary>
		public decimal? Rate
		{
			set{ _rate=value;}
			get{return _rate;}
		}
		/// <summary>
		/// 评论标题
		/// </summary>
		public string CommentTitle
		{
			set{ _commenttitle=value;}
			get{return _commenttitle;}
		}
        /// <summary>
        /// 是否显示在首页
        /// </summary>
        public bool IsMain
        {
            get { return _isMain; }
            set { _isMain = value; }
        }

		#endregion Model

	}
}

